package com.hdsx.netty.tomcatserver.nio;

/**
 * @author 占贤银
 * time 2024/8/5 21:13
 * description 生命之灯因热情而点燃，生命之舟因拼搏而前行
 */
public class XYRequest {

    private String url;
    private String method;

    public String getUrl() {
        return this.url;
    }

    public String getMethod(){
        return this.method;
    }

    public XYRequest(String lines) {
        String[] split = lines.split("\\s");
        this.method = split[0];
        this.url = split[1];
    }
}
